package Pattern.CommandPattern.RemoteControl;

public class LightOffCommand implements Command{
    Light light;
    public LightOffCommand(Light light) {
        this.light=light;
    }

    @Override
    public void execute() {
        light.off();
    }
}
